import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import {GITEE_LINK} from "@/constants/constant";
const Footer: React.FC = () => {
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear}`}
      style={{
        background: 'none',
      }}
      links={[
        {
          key: 'Dong Liu',
          title: 'Dong Liu',
          href: GITEE_LINK,
          blankTarget: true,
        },
        {
          key: 'github',
          title: <GithubOutlined />,
          href: GITEE_LINK,
          blankTarget: true,
        },
        {
          key: 'GIT EE',
          title: 'Gitee',
          href: GITEE_LINK,
          blankTarget: true,
        },
      ]}
    />
  );
};
export default Footer;
